#import "../fragments/design.fragment.graphql"
#import "../fragments/version.fragment.graphql"

mutation uploadDesign($files: [Upload!]!, $projectPath: ID!, $iid: ID!) {
  designManagementUpload(input: { projectPath: $projectPath, iid: $iid, files: $files }) {
    designs {
      ...DesignItem
      versions {
        nodes {
          ...VersionListItem
        }
      }
    }
    skippedDesigns {
      id
      filename
    }
    errors
  }
}
